﻿using System;

namespace Maltose.MicroService
{
    /// <summary>
    /// 自定义错误
    /// </summary>
    public class MicroServiceException : Exception
    {
        /// <summary>
        /// 错误
        /// </summary>
        public MicroServiceException() 
        {

        }

        /// <summary>
        /// 错误
        /// </summary>
        /// <param name="message"></param>
        public MicroServiceException(string message) : base(message) 
        {

        }

        /// <summary>
        /// 错误
        /// </summary>
        /// <param name="message"></param>
        /// <param name="innerException"></param>
        public MicroServiceException(string message, Exception innerException) : base(message, innerException) 
        {

        }
    }
}
